package com.ponhu.ea2.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel(value = "类目-数据传输模型 ")
public class PhCategoryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 类目ID
     */
    @ApiModelProperty(value = "类目ID")
    private Long id;

    /**
     * 父类ID
     */
    @ApiModelProperty(value = "父类ID")
    private Long parentId;

    /**
     * 类目code
     */
    @ApiModelProperty(value = "类目code")
    private String code;

    /**
     * 类目名称
     */
    @ApiModelProperty(value = "类目名称")
    private String name;

    /**
     * 类目图片
     */
    @ApiModelProperty(value = "类目图片")
    private String imageUrl;

    /**
     * 层级
     */
    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "是否有效：1-是，2-否")
    private Integer status;

}
